package com.mch.ui.cons;

import javax.swing.plaf.FontUIResource;

import com.alee.laf.WebLookAndFeel;

public class MStyleWebLaF {

	public static final FontUIResource FontUIRes = new FontUIResource("宋体", 0, 13);

	public MStyleWebLaF() {
		super();
		initStyle();
	}

	private void initStyle() {
		try {
			WebLookAndFeel.globalControlFont = FontUIRes;
			WebLookAndFeel.globalTooltipFont = FontUIRes;
			WebLookAndFeel.globalAlertFont = FontUIRes;
			WebLookAndFeel.globalMenuFont = FontUIRes;
			WebLookAndFeel.globalAcceleratorFont = FontUIRes;
			WebLookAndFeel.globalTitleFont = FontUIRes;
			WebLookAndFeel.globalTextFont = FontUIRes;
			WebLookAndFeel.install();
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}

}
